export function showLoading(title) {
  wx.showLoading({
    title: title == ''||title == undefined ? '加载中' : title,
    mask: true
  })
}

export function hideLoading() {
  setTimeout(function () {
    wx.hideLoading()
  }, 300)
}